<h2>Список услуг</h2>



<script type="text/javascript" src="/js/admin/tourlist.js"></script>
<?php if($_SESSION['userType']==2){?>
<div class="addTypeService" style="background:#f00">Добавить тип услуги</div>
l
<div  class="addService" style="background:#fc0" >Добавить услугу</div>
<div class='modalW'></div>
<div class='modalW2'></div>
<?php }?>
<script>
var option=[];
	 option[1]='<?php echo $options1;?>';
	 option[2]='<?php echo $options2;?>';
	 option[3]='<?php echo $options3;?>';
	 var list=[];
	 list[1]='<?php echo $list1;?>';
	 list[2]='<?php echo $list2;?>';
</script>
<div >
<table width="100%" border="0" padding=0 margin=0 id='listType'>

<?php 

	foreach($list as $key=>$item)
		{
			echo '	<tr >
						<td width="2%"> &nbsp;</td>
						<td><h2>'.$item.'</h2></td>
						<td width="2%"> &nbsp;</td>
					</tr>
					<tr >
						<td width="2%"> &nbsp;</td>
						<td>
							<div id="pager'.$key.'"></div>
							<table id="table'.$key.'"></table>
							<script> createTable("'.$key.'");</script>
						</td>
						<td width="2%"> &nbsp;</td>
					</tr>
			';
		
		}
	?>
 </table>
</div>



